package com.ssy.lingxi.product.api.model.request;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.util.List;

/**
 * 物料冻结/启用实体类(批量)
 *
 * @author lqa
 * @version 2.0.0
 * @date 2022/03/29
 */
@Data
public class GoodsFreezeEnableBatchRequest {
    /**
     * 物料id
     */
    @NotEmpty(message = "物料Id列表不能为空")
    private List<Long> goodsId;

    /**
     * 物料状态 冻结: 0 启用: 1
     */
    @NotNull(message = "物料状态不能为空")
    private Integer status;

    /**
     * 冻结原因
     */
    private String freezeReason;

}
